package com.example.springbook.bean;

public class Book {
    private int bookid;
    private String bookname;
    private String author;
    private int lendnum;
    private int surplus;
    public int getBookid() { return bookid; }
    public String getBookname() { return bookname; }
    public String getAuthor() { return author; }
    public int getLendnum() { return lendnum; }
    public int getSurplus() { return surplus; }
    public void setBookid(int bookid) { this.bookid = bookid; }
    public void setBookname(String bookname) { this.bookname = bookname; }
    public void setAuthor(String author) { this.author = author; }
    public void setLendnum(int lendnum) { this.lendnum = lendnum; }
    public void setSurplus(int surplus) { this.surplus = surplus; }
}
